import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'  //登录
// 显示
import Cargo_Information from '@/components/Show/Cargo_Information'  //物资采购
import CargoApproval from '@/components/Show/CargoApproval'  //物资采购审批
import Collect_Fee from '@/components/Show/Collect_Fee'  //用户收费
import Goods_Receiving from '@/components/Show/Goods_Receiving'  //物资领用
import GoodsApproval from '@/components/Show/GoodsApproval'  //物资领用审批
import Materials_Company from '@/components/Show/Materials_Company'  //物资入库
import Paying_User from '@/components/Show/Paying_User'  //用户付费
import Statistical_Goods from '@/components/Show/Statistical_Goods'  //物资统计
// 添加
import Cargo_InformationCreate from '@/components/Create/Cargo_InformationCreate'  //物资采购
// 修改
import Cargo_InformationEdit from '@/components/Edit/Cargo_InformationEdit'  //物资采购
// 详情
import Cargo_InformationDetails from '@/components/Details/Cargo_InformationDetails'  //物资采购



Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/Show/Cargo_Information',
      name: 'Cargo_Information',
      component: Cargo_Information
    }
    ,
    {
      path: '/Show/CargoApproval',
      name: 'CargoApproval',
      component: CargoApproval
    },
    {
      path: '/Show/Collect_Fee',
      name: 'Collect_Fee',
      component: Collect_Fee
    },
    {
      path: '/Show/Goods_Receiving',
      name: 'Goods_Receiving',
      component: Goods_Receiving
    },
    {
      path: '/Show/GoodsApproval',
      name: 'GoodsApproval',
      component: GoodsApproval
    },
    {
      path: '/Show/Materials_Company',
      name: 'Materials_Company',
      component: Materials_Company
    },
    {
      path: '/Show/Paying_User',
      name: 'Paying_User',
      component: Paying_User
    },
    {
      path: '/Show/Statistical_Goods',
      name: 'Statistical_Goods',
      component: Statistical_Goods
    },
    {
      path: '/Create/Cargo_InformationCreate',
      name: 'Cargo_InformationCreate',
      component: Cargo_InformationCreate
    },
    {
      path: '/Edit/Cargo_InformationEdit',
      name: 'Cargo_InformationEdit',
      component: Cargo_InformationEdit
    },
    {
      path: '/Details/Cargo_InformationDetails',
      name: 'Cargo_InformationDetails',
      component: Cargo_InformationDetails
    }
  ]
})
